package com.lxy.demo.dao;

import com.lxy.demo.entity.Persons;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PersonsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Persons record);

    int insertSelective(Persons record);

    Persons selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Persons record);

    int updateByPrimaryKey(Persons record);

    @Select(" select * from persons ")
    List<Persons> selectFenYe();
}